import layout from '@/layout'
// export default {
//   path: '/employee',
//   component: layout,
//   children: [{
//     path: '',
//     name: 'employee',
//     component: () => import('@/views/employee'),
//     meta: {
//       title: '业务管理',
//       icon: 'yewu'
//     }
//   }]
// }

export default {
  path: '/employee',
  component: layout,
  redirect: '/employee',
  meta: { title: '业务管理', icon: 'yewu' },
  children: [{
    meta: { title: '订单管理', icon: 'table' },
    path: 'orders',
    name: 'orders',
    component: () => import('@/views/employee/components/orders.vue')
  },
  { meta: { title: '运单管理', icon: 'table' },
    path: 'waybill',
    name: 'waybill',
    component: () => import('@/views/employee/components/waybill.vue')
  }
  ]
}
